import React from 'react';
import {
  HashRouter as Router,
  Switch,
  Route,
} from "react-router-dom";

import Home from '@pages/home';

import '@/App.scss';
import Active from '@pages/active';


class App extends React.Component {
  render() {
    return (
      <Router>
          <Switch>
              <Route path={'/'} component={Home} exact />
              <Route path={'/active/:id'} component={Active} />
          </Switch>
      </Router>
    )
  }
}

export default App;
